<html>
<head><meta charset="utf-8"><title>Error after installing from marketplace · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Error.20after.20installing.20from.20marketplace.html">Error after installing from marketplace</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="190558125"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Error%20after%20installing%20from%20marketplace/near/190558125" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dhs92 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Error.20after.20installing.20from.20marketplace.html#190558125">(Mar 13 2020 at 21:41)</a>:</h4>
<p><code>[matklad.rust-analyzer]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api matklad.rust-analyzer</code></p>
<p>Currently getting this error whenever I open up a Rust workspace using ra from the marketplace with semantic token highlights on</p>



<a name="190559050"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Error%20after%20installing%20from%20marketplace/near/190559050" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> std::Veetaha <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Error.20after.20installing.20from.20marketplace.html#190559050">(Mar 13 2020 at 21:52)</a>:</h4>
<p>@Dhs you may not use semantic highlighting on stable <code>vscode</code>. You need either to switch to <code>vscode-insiders</code> or turn off this flag:</p>
<div class="codehilite"><pre><span></span><span class="p">{</span>
    <span class="nt">&quot;rust-analyzer.highlighting.semanticTokens&quot;</span><span class="p">:</span> <span class="kc">false</span>
<span class="p">}</span>
</pre></div>


<p>Note: I tried running code with <code>--enable-proposed-api matklad.rust-analyzer</code> and it doesn't work on stable <code>vscode</code>, this option doesn't opt in proposed api for some reason (maybe this is a bug)</p>



<a name="190566020"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Error%20after%20installing%20from%20marketplace/near/190566020" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Dhs92 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Error.20after.20installing.20from.20marketplace.html#190566020">(Mar 13 2020 at 23:28)</a>:</h4>
<p>Yes, forgot to include I tried running code with the proposed flag. I'll keep that in mind--thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>